package icu.decade.store.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author qk
 * @version 1.0
 * @className Result
 * @description
 * @date 2023/6/25 14:26
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Result<T> {
    private String code;
    private String msg;
    @JsonFormat(pattern = "yyyy-MM-dd#HH:mm:ss", timezone = "GMT+8")
    private Date serverTime;
    private T data;
}
